package com.control.qct.businesssteward.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/2/28 0028.
 */

public class GoodsDetailModel implements Serializable {

    /**
     * id : 350
     * productCode : 000003
     * barcode : 6901049107122
     * title : 特选老枞水仙(散装)~t~t~t~t~c
     * size : 250G*20
     * boxBoard : null
     * brandSN : 44
     * supplierId : 582d6734794841c4ab4931dbae35a682
     * cityId : 0
     * categorySN : 27
     * bigUnitId : 0
     * subUnitId : 111
     * buyPrice : 128
     * sysPrice : 290
     * tradePrice : 290
     * joinPrice : 290
     * memberPrice : 290
     * memberPrice1 : 290
     * memberPrice2 : 290
     * memberPrice3 : 290
     * memberPrice4 : 290
     * memberPrice5 : 290
     * favorable : 1
     * expiry : 0
     * expiryUnit : 1
     * factory : null
     * valuationType : 1
     * isReturnSale : 1
     * isAcceptOrder : 1
     * raterUID : D039733AD0804D0AB68A80F184697D97
     * inventoryWarning : 5
     * validityWarning : 5
     * state : 1
     * stockRate : 17
     * saleRate : 17
     * inventoryWarningMax : 5
     * fileImageUrl : ["http://test.erp.qcterp.com/Attachs\\productimgs\\201705\\73cb15f0888e419a962391e87ec9f8da.png"]
     * supplierTitle : 厦门欧尼柚食品科技有限公司
     * subUnitTitle : 包
     * brandTitle : 海堤茶叶
     * categoryTitle : 特产/茶叶/武夷岩茶的
     */

    private int id;
    private String productCode;
    private String barcode;
    private String storageCode;
    private String title;
    private String size;
    private String boxBoard;
    private int brandSN;
    private String supplierId;
    private int cityId;
    private int categorySN;
    private int bigUnitId;
    private int subUnitId;
    private double buyPrice;
    private double sysPrice;
    private double tradePrice;
    private double joinPrice;
    private double memberPrice;
    private double memberPrice1;
    private double memberPrice2;
    private double memberPrice3;
    private double memberPrice4;
    private double memberPrice5;
    private int favorable;
    private int expiry;
    private int expiryUnit;
    private String factory;
    private int valuationType;
    private int isReturnSale;
    private int isAcceptOrder;
    private String raterUID;
    private int inventoryWarning;
    private int validityWarning;
    private int state;
    private int stockRate;
    private int saleRate;
    private int inventoryWarningMax;
    private String supplierTitle;
    private String subUnitTitle;
    private String brandTitle;
    private String categoryTitle;
    private List<FileImageUrl> fileImageUrls;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getStorageCode() {
        return storageCode;
    }

    public void setStorageCode(String storageCode) {
        this.storageCode = storageCode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getBoxBoard() {
        return boxBoard;
    }

    public void setBoxBoard(String boxBoard) {
        this.boxBoard = boxBoard;
    }

    public int getBrandSN() {
        return brandSN;
    }

    public void setBrandSN(int brandSN) {
        this.brandSN = brandSN;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getCategorySN() {
        return categorySN;
    }

    public void setCategorySN(int categorySN) {
        this.categorySN = categorySN;
    }

    public int getBigUnitId() {
        return bigUnitId;
    }

    public void setBigUnitId(int bigUnitId) {
        this.bigUnitId = bigUnitId;
    }

    public int getSubUnitId() {
        return subUnitId;
    }

    public void setSubUnitId(int subUnitId) {
        this.subUnitId = subUnitId;
    }

    public double getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(double buyPrice) {
        this.buyPrice = buyPrice;
    }

    public double getSysPrice() {
        return sysPrice;
    }

    public void setSysPrice(double sysPrice) {
        this.sysPrice = sysPrice;
    }

    public double getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(double tradePrice) {
        this.tradePrice = tradePrice;
    }

    public double getJoinPrice() {
        return joinPrice;
    }

    public void setJoinPrice(double joinPrice) {
        this.joinPrice = joinPrice;
    }

    public double getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(double memberPrice) {
        this.memberPrice = memberPrice;
    }

    public double getMemberPrice1() {
        return memberPrice1;
    }

    public void setMemberPrice1(double memberPrice1) {
        this.memberPrice1 = memberPrice1;
    }

    public double getMemberPrice2() {
        return memberPrice2;
    }

    public void setMemberPrice2(double memberPrice2) {
        this.memberPrice2 = memberPrice2;
    }

    public double getMemberPrice3() {
        return memberPrice3;
    }

    public void setMemberPrice3(double memberPrice3) {
        this.memberPrice3 = memberPrice3;
    }

    public double getMemberPrice4() {
        return memberPrice4;
    }

    public void setMemberPrice4(double memberPrice4) {
        this.memberPrice4 = memberPrice4;
    }

    public double getMemberPrice5() {
        return memberPrice5;
    }

    public void setMemberPrice5(double memberPrice5) {
        this.memberPrice5 = memberPrice5;
    }

    public int getFavorable() {
        return favorable;
    }

    public void setFavorable(int favorable) {
        this.favorable = favorable;
    }

    public int getExpiry() {
        return expiry;
    }

    public void setExpiry(int expiry) {
        this.expiry = expiry;
    }

    public int getExpiryUnit() {
        return expiryUnit;
    }

    public void setExpiryUnit(int expiryUnit) {
        this.expiryUnit = expiryUnit;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public int getValuationType() {
        return valuationType;
    }

    public void setValuationType(int valuationType) {
        this.valuationType = valuationType;
    }

    public int getIsReturnSale() {
        return isReturnSale;
    }

    public void setIsReturnSale(int isReturnSale) {
        this.isReturnSale = isReturnSale;
    }

    public int getIsAcceptOrder() {
        return isAcceptOrder;
    }

    public void setIsAcceptOrder(int isAcceptOrder) {
        this.isAcceptOrder = isAcceptOrder;
    }

    public String getRaterUID() {
        return raterUID;
    }

    public void setRaterUID(String raterUID) {
        this.raterUID = raterUID;
    }

    public int getInventoryWarning() {
        return inventoryWarning;
    }

    public void setInventoryWarning(int inventoryWarning) {
        this.inventoryWarning = inventoryWarning;
    }

    public int getValidityWarning() {
        return validityWarning;
    }

    public void setValidityWarning(int validityWarning) {
        this.validityWarning = validityWarning;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getStockRate() {
        return stockRate;
    }

    public void setStockRate(int stockRate) {
        this.stockRate = stockRate;
    }

    public int getSaleRate() {
        return saleRate;
    }

    public void setSaleRate(int saleRate) {
        this.saleRate = saleRate;
    }

    public int getInventoryWarningMax() {
        return inventoryWarningMax;
    }

    public void setInventoryWarningMax(int inventoryWarningMax) {
        this.inventoryWarningMax = inventoryWarningMax;
    }

    public String getSupplierTitle() {
        return supplierTitle;
    }

    public void setSupplierTitle(String supplierTitle) {
        this.supplierTitle = supplierTitle;
    }

    public String getSubUnitTitle() {
        return subUnitTitle;
    }

    public void setSubUnitTitle(String subUnitTitle) {
        this.subUnitTitle = subUnitTitle;
    }

    public String getBrandTitle() {
        return brandTitle;
    }

    public void setBrandTitle(String brandTitle) {
        this.brandTitle = brandTitle;
    }

    public String getCategoryTitle() {
        return categoryTitle;
    }

    public void setCategoryTitle(String categoryTitle) {
        this.categoryTitle = categoryTitle;
    }

    public List<FileImageUrl> getFileImageUrl() {
        return fileImageUrls == null ? new ArrayList<FileImageUrl>() : fileImageUrls;
    }

    public void setFileImageUrl(List<FileImageUrl> fileImageUrls) {
        this.fileImageUrls = fileImageUrls;
    }

    public static class FileImageUrl implements Serializable{
        private String imageBigUrl;
        private String fileName;

        public FileImageUrl(String imageBigUrl, String fileName) {
            this.imageBigUrl = imageBigUrl;
            this.fileName = fileName;
        }

        public String getImageBigUrl() {
            return imageBigUrl;
        }

        public void setImageBigUrl(String imageBigUrl) {
            this.imageBigUrl = imageBigUrl;
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }
    }

}
